#include "ImageScene.h"


ImageScene::ImageScene(QObject *parent) : QGraphicsScene(parent)
{
}

void ImageScene::mousePressEvent(QGraphicsSceneMouseEvent* event)
{
	emit(this -> mousePress(QPoint(event -> scenePos().x(), event -> scenePos().y())));
}

void ImageScene::mouseMoveEvent(QGraphicsSceneMouseEvent* event)
{
	emit(this -> mouseMove(QPoint(event -> scenePos().x(), event -> scenePos().y())));
}